<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Wizard.Master" Inherits="System.Web.Mvc.ViewPage<LogOnModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <h1 style="height: 90px; margin: 10px" class="ui-widget-content ui-border-bottom">
        <img style="float: left;" src="<%:Url.Content("~/Content/Images/host/host.png") %>"
            alt="" />
        <span style="float: left; padding-top: 20px; padding-left: 5px;">
            <%:HttpContext.GetGlobalResourceObject("language", "RES_LOGIN")%></span>
    </h1>
    <div style="clear: left;" />
    <div class="ui-state-highlight" style="padding: 10px;">
        <%:HttpContext.GetGlobalResourceObject("language", "Host_LogIn_Title")%>
    </div>
    <% Html.EnableClientjQueryValidation(); %>
    <% using (Html.BeginForm())
       { %>
    <%:Html.AntiForgeryToken() %>
    <%: Html.ValidationSummary()%>
    <table cellpadding="5px;" cellspacing="5px">
        <tr>
            <td>
                <label for="UserName">
                    <%: HttpContext.GetGlobalResourceObject("language","RES_USER_NAME")%>:</label>
            </td>
            <td>
                Host
                <input type="hidden" name="UserName" value="Host" />
            </td>
        </tr>
        <tr>
            <td>
                <label for="Password">
                    <%:HttpContext.GetGlobalResourceObject("language","RES_PASSWORD")%>:</label>
            </td>
            <td>
                <%=Ajax.Password("Password", "ui-icon ui-icon-key", 300)%>
                <%= Html.ValidationMessageFor(m=>m.Password) %>
            </td>
        </tr>
        <tr>
            <td colspan="2" style="display: none;">
                <%= Html.CheckBox("RememberMe", false, new { style = "width:16px;" })%>
            </td>
        </tr>
        <tr>
            <td colspan="2" align="right">
                <%=Ajax.Submit(HttpContext.GetGlobalResourceObject("language", "RES_LOGIN").ToString(), "ui-icon ui-icon-key")%>
            </td>
        </tr>
    </table>
    <% } %>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
</asp:Content>
